package com.cqupt.service;

import com.cqupt.model.pojo.UserWord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqupt.model.pojo.Word;

import java.util.List;


public interface UserWordService extends IService<UserWord> {

    void unknown(int wordId, int bookId);

    void learn(int wordId, int bookId);

    List<Word> getAllUnknown();

    List<Word> getAllLearned(int bookId);

    void rest(int bookId,int count);

    List<Word> again(int bookId,int count);
}
